import 'package:cbec_app/components/base/base_page.dart';
import 'package:cbec_app/components/common/text_arrow_item.dart';
import 'package:cbec_app/components/base/base_nav_bar.dart';
import 'package:cbec_app/routes/routes.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';

///
class ModifyPayPassword extends StatefulWidget {
  const ModifyPayPassword({super.key});

  @override
  State<ModifyPayPassword> createState() => _ModifyPayPasswordState();
}

class _ModifyPayPasswordState extends State<ModifyPayPassword> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return BasePage(
      title: "支付密码修改",
      iconType: IconType.back,
      children: [
        ListItem(
            texts: "修改6位数支付密码",
            ontap: () {
              Get.toNamed(Routes.resetSixPassword);
            }),
        ListItem(
            texts: "忘记6位数支付密码",
            ontap: () {
              Get.toNamed(Routes.forgetSixPassword);
            }),
      ],
    );
  }
}
